﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ToolCache.aspx.cs" Inherits="Manage_System_ToolCache" %>
<html>
<head>
<!--#include file="../js/html_head.inc"-->
<link rel="stylesheet" type="text/css" href="../Themes/<%=ManageHelper.GetTheme()%>/style.css" />
</head>
<body>
<%=ManageHelper.PageSucMsg()!=""?"<div class='msg_succeed'>"+ManageHelper.PageSucMsg()+"</div>":""%>
<%=ManageHelper.PageErrMsg()!=""?"<div class='msg_failed'>"+ManageHelper.PageErrMsg()+"</div>":""%>

<div class="column">
    <div class="columntitle">缓存内容管理</div>
    <table cellspacing="0" cellpadding="0" rules="all" Align="center" border="0" id="MyDataGrid" style="border-width:0px;width:100%;border-collapse:collapse;">
        <tr class="summary-title" style="height: 25px" align="center">
            <td align="left" style="width:300px; padding-left:20px">缓存键</td>
            <td align="center" style="width:50px;">类型</td>
            <td align="left">缓存值</td>
        </tr>
        <%
        foreach (object obj2 in  base.Cache)
        {
            DictionaryEntry entry = (DictionaryEntry)obj2;
        %>
        <tr class="tdbg" onmouseover="this.className='tdbg-dark';" onmouseout="this.className='tdbg';" style="height:25px;">
		    <td align="left" style="width:300px; padding-left:20px"><%=entry.Key %></a></td>
		    <td align="center"><%=entry.Value.GetType().Name%></td>
		    <td align="left"><%=entry.Value%></td>
	    </tr>
	    <%
        }
        %>
        
    </table>
</div>

<table width="95%" align="center">
	<tr>
		<td align="center">
			<input type="submit" value="清理缓存" class="button" onclick="window.location.href='?act=clear'" />
		</td>
	</tr>
</table>

</body>
</html>